Skip to content

Add setting to toggle cron jobs - #1798

Draft
hmpf wants to merge 1 commit into
mainfrom
toggle-cronjobs
Draft

Add setting to toggle cron jobs#1798
hmpf wants to merge 1 commit into
mainfrom
toggle-cronjobs

Conversation

@hmpf

@hmpf hmpf commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Scope and purpose

Control via settings whether a management command suitable for running in cron actually does its job.

Contributor Checklist

Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to Argus can be found in the
Development docs.

  • Added a changelog fragment for towncrier
  • Added/amended tests for new/changed code
  • Added/changed documentation, including updates to the user manual if feature flow or UI is considerably changed
  • Linted/formatted the code with ruff and djLint, easiest by using pre-commit
  • The first line of the commit message continues the sentence "If applied, this commit will ...", starts with a capital letter, does not end with punctuation and is 50 characters or less long. See our how-to
  • If applicable: Created new issues if this PR does not fix the issue completely/there is further work to be done
  • If this results in changes in the UI: Added screenshots of the before and after
  • If this results in changes to the database model: Updated the ER diagram

@sonarqubecloud

Copy link
Copy Markdown

@hmpf hmpf self-assigned this Feb 20, 2026
@github-actions

Copy link
Copy Markdown

Test results

    6 files    888 suites   1m 47s ⏱️
  697 tests   696 ✅ 1 💤 0 ❌
4 182 runs  4 176 ✅ 6 💤 0 ❌

Results for commit 2a48ef9.

@codecov

codecov Bot commented Feb 20, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.31%. Comparing base (d284743) to head (2a48ef9).
⚠️ Report is 169 commits behind head on main.

Files with missing lines Patch % Lines
...dev/management/commands/check_ended_maintenance.py 0.00% 10 Missing ⚠️
...v/management/commands/check_started_maintenance.py 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1798      +/-   ##
==========================================
- Coverage   82.55%   82.31%   -0.24%     
==========================================
  Files         137      137              
  Lines        6552     6572      +20     
==========================================
+ Hits         5409     5410       +1     
- Misses       1143     1162      +19     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant